.my-page {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 2rem; /* 避免被底部TabBar遮挡 */
}

.my-navbar {
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}

/* 用户信息区域 */
.user-info-section {
  background: linear-gradient(135deg, #ff4757 0%, #d32f2f 100%);
  padding: 0.5rem;
  color: white;
  margin-bottom: 10px;
}

.user-basic-info {
  /* background-color: aquamarine; */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.user-avatar {
  width: 1.3rem;
  height: 1.3rem;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

.user-details {
  flex: 1;
}

.user-name-area {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.user-nickname {
  font-size: 0.48rem;
  font-weight: bold;
}

.user-phone {
  font-size: 0.35rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.vip-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.edit-btn {
  background-color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 16%;
  padding: 0.2rem 0.4rem;
  font-size: 0.35rem;

}

.edit-btn:hover {
  background-color: rgba(255,255,255,0.3);
}

/* 钱包区域 */
.wallet-section {
  background-color: rgba(255,255,255,0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

/* 卡券部分 */
.coupon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0px 6px;
  border-radius: 8px;
  transition: all 0.3s;
  background-color: rgba(255,255,255,0.1);
  min-height: 40px;
}

.coupon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-icon {
  font-size: 20px;
  color: #fff;
}

.coupon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coupon-label {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.coupon-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

/* 订单区域 */
.order-section {
  background-color: white;
  padding: 16px;
  margin-bottom: 10px;
  border-radius: 8px;
  margin: 10px;
  overflow-x: auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.order-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 8px;
  transition: all 0.3s;
}

.order-item:hover {
  background-color: #f8f9fa;
}

.order-badge {
  margin-bottom: 6px;
}

.order-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.order-title {
  font-size: 11px;
  color: #666;
  text-align: center;
  line-height: 1.2;
}

/* 活动中心 */
.activity-section {
  background-color: white;
  padding: 16px;
  margin: 10px;
  border-radius: 8px;
}

.activity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 12px 6px;
  border-radius: 8px;
  transition: all 0.3s;
}

.activity-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.activity-title {
  font-size: 12px;
  color: #333;
  text-align: center;
  font-weight: 400;
  line-height: 1.2;
}

/* 我的服务 */
.service-section {
  background-color: white;
  padding: 16px;
  margin: 10px;
  border-radius: 8px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 12px 6px;
  border-radius: 8px;
  transition: all 0.3s;
}

.service-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.service-title {
  font-size: 12px;
  color: #333;
  text-align: center;
  font-weight: 400;
  line-height: 1.2;
}

/* 设置区域 */
.settings-section {
  background-color: white;
  margin: 10px;
  border-radius: 8px;
  overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .user-basic-info {
    flex-direction: column;
    text-align: center;
  }
  
  .user-details {
    margin-bottom: 12px;
  }
  
  .order-item {
    padding: 6px 2px;
  }
  
  .order-icon {
    font-size: 20px;
  }
  
  .order-title {
    font-size: 10px;
  }
  
  .activity-item {
    padding: 12px 4px;
  }
  
  .activity-icon {
    font-size: 24px;
  }
  
  .activity-title {
    font-size: 13px;
  }
  
  .service-item {
    padding: 10px 4px;
  }
  
  .service-icon {
    font-size: 20px;
  }
  
  .service-title {
    font-size: 11px;
  }
  
  .wallet-amount {
    font-size: 14px;
  }
  
  .wallet-label {
    font-size: 11px;
  }
}

/* 更小屏幕适配 */
@media (max-width: 320px) {
  .order-item {
    padding: 4px 1px;
  }
  
  .order-icon {
    font-size: 18px;
  }
  
  .order-title {
    font-size: 9px;
  }
  
  .order-section {
    padding: 12px;
  }
  
  .activity-item {
    padding: 10px 2px;
  }
  
  .activity-icon {
    font-size: 22px;
  }
  
  .activity-title {
    font-size: 12px;
  }
  
  .service-item {
    padding: 8px 2px;
  }
  
  .service-icon {
    font-size: 18px;
  }
  
  .service-title {
    font-size: 10px;
  }
  
  .activity-section, .service-section {
    padding: 12px;
  }
  
  .wallet-amount {
    font-size: 12px;
  }
  
  .wallet-label {
    font-size: 10px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.my-page > * {
  animation: fadeIn 0.3s ease-out;
}

/* 自定义antd-mobile组件样式 */
.adm-list-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.adm-list-item:last-child {
  border-bottom: none;
}

.adm-badge {
  font-size: 12px;
}

.adm-tag {
  border-radius: 12px;
  font-size: 11px;
  padding: 2px 8px;
}

.adm-button {
  border-radius: 20px;
  font-size: 14px;
} 